home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / winutils / winutl2.zip / STARTUP.TXT < prev    next >
Text File  |  1990-12-14  |  5KB  |  107 lines

  1. Utility of the Month:  STARTUP.BAT
  2.  
  3. Have you ever wanted to change the screen Microsoft Windows 3.0 displays when
  4. you start it?  With STARTUP, you can create your own Windows start-up screen.
  5. After you create your screen and save it in 4-bit RLE format (more about that
  6. later) simply type:
  7.  
  8.    STARTUP rleimage[.rle] [/e] [d:\winpath\]
  9.  
  10. from the DOS prompt.  Replace the above "rleimage[.rle]" with the name of your
  11. RLE-4 format graphics screen.  The .RLE extension is not necessary.
  12.  
  13. If you are using an EGA monitor, follow the RLE file with a "/e" switch.  If
  14. Windows is installed on a drive or directory other than the current one, enter
  15. the name of the path after the RLE file name for VGA systems or after the "/e"
  16. switch for EGA systems.
  17.  
  18. Be sure to end the directory name with a \ character if other than the default
  19. directory of the Windows drive!
  20.  
  21. Example:
  22.  
  23.    STARTUP mystart /e c:\windows\
  24.  
  25.         or ...
  26.  
  27.    STARTUP mystart.rle d:
  28.  
  29.  
  30. How it Works:
  31.  
  32. Each time you install Windows, STARTUP creates a file called WIN.COM.  This
  33. is the program that runs when you type "WIN" to load Windows.  WIN.COM is an
  34. essential housekeeping program that does several important tasks such as
  35. finding the path where Windows is located, checking for the existance of
  36. HIMEM.SYS and any Extended Memory Managers, loading PROGMAN.EXE, and -- of
  37. course -- displaying Microsoft's logo screen.
  38.  
  39. All the STARTUP does to create this file is to combine three files: a program
  40. loader called WIN.CNF, a logo display routine (called variously VGALOGO.LGO,
  41. EGALOGO.LGO, CGALOGO.LGO, EGAMONO.LGO or HERCLOGO.LGO depending on your
  42. system configuration) and the start-up screen's graphics file, named as the
  43. display routine, but ending with the extension .RLE (Run-Length Encoded 4-bit
  44. -- a graphics file format).  These files are saved in the SYSTEM subdirectory
  45. of your Windows directory.  SETUP just copies these files, one after the
  46. other, into one single file called WIN.COM.
  47.  
  48. STARTUP creates a NEW WIN.COM for you.  If you ever want to switch BACK to
  49. the old WIN.COM, just run STARTUP and tell it to use VGALOGO.RLE, located in
  50. the SYSTEM subdirectory of your Windows directory.  Example:
  51.  
  52.    STARTUP C:\WINDOWS\SYSTEM\VGALOGO.RLE
  53.  
  54. It's that simple!
  55.  
  56. NOTE:  If you are running Windows on a system with a graphics adapter other
  57. than EGA (Color) or VGA, you may add your own support by loading STARTUP.BAT
  58. into a text editor and changing all occurrences of "VGALOGO.LGO" to the name
  59. of the graphics loader file mentioned above that corresponds to your setup.
  60.  
  61. Creating RLE Files:
  62.  
  63. If you want to make your OWN RLE file, just create a graphics file no larger
  64. than 640 x 480 (640 x 250 for EGA systems) in Windows Paint or other suitable
  65. paint program.  The image may have no more than 16 colors.  Save it as a BMP
  66. or GIF file (if your paint program allows GIF format).
  67.  
  68. Next, you must get a graphics conversion program such as the excellent WinGIF
  69. or Paint Shop utilities (found on most bulletin-board systems or available
  70. from many Shareware vendors).  Load the BMP or GIF file and immediately save
  71. it again, selecting the "Format RLE" or "Format RLE 4" option.  That's it!
  72. You now have a suitable RLE file for use as a start-up screen.  You can also
  73. use this procedure to convert existing graphics files you may have downloaded
  74. or received on disk.
  75.  
  76. IMPORTANT NOTE:  If the image is too complex and the file is too large (over
  77. about 55k), it will not display properly or you will receive a "Program too
  78. large to fit in memory" error when you try to run Windows.  If this happens,
  79. load the file back into your paint program or conversion utility and try to
  80. "dither" it to a smaller palette size or resize it to fit into a smaller area
  81. and then center it in a solid background.  Read the documentation for your
  82. conversion utility or paint program for more information on how to do this.
  83. Some files may not be useable as start-up screens for this reason.
  84.  
  85. Once you've created your own start-up screens, you'll never want to go back
  86. to Microsoft's plain vanilla start-up again!
  87.  
  88.                                                   -- Kevin Bachus
  89.  
  90.  
  91.                                      # # #
  92.  
  93. This file and the associated STARTUP.BAT file appeared in the February, 1991,
  94. issue of InfoNet Monthly (Electronic Edition).  Both are Copyright 1990 by
  95. December Rose Publications.  All Rights Reserved.  Permission is hereby
  96. granted to distribute the program freely so long as both files remain intact
  97. and together.  You may NOT charge more than a nominal distribution fee for
  98. the files.
  99.  
  100. For more information about InfoNet Monthly, write to us at:
  101.  
  102.           107 South Holliston Avenue, Suite #307
  103.           Pasadena, California  91106
  104.  
  105. or send electronic mail on CompuServe to [70120,355], on GEnie to K.BACHUS
  106. or on Prodigy to BKVJ72A.
  107.